
<div class="top-info-wrap">
    <div class="top-info fix">
        <div class="left">
            <h1 class="logo"><a href="/"><img class="img" src="/resource/www/imgs/logo.png" alt=""></a></h1>
            <a class="a <{if $step=='line'}>active<{/if}>" href="/line">搜罗玩法</a>
            <a class="a  <{if $step=='scenicspot'}>active<{/if}>" href="/scenicspot">景点图书馆</a>
            <a class="a <{if $step=='service'}>active<{/if}>" href="/customize/">哇吖定制</a>
        </div>
        <div class="right">
            <{if $global_user.userUid > 0}>
            <{if $global_user.userType == 'GUIDER'}>
            <div class="login-succ fix">
                <div class="name" onmouseover="show_succ_menu(this);" onmouseout="hide_succ_menu(this);" style="color: #000;">
                    <p class="txt"><{$global_user.userName}></p>
                    <ul class="menu">
                        <li class="menuli"><a class="a" target="_blank" href="/guider/info">基本信息</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/guider/show_identity">认证</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/guider/track_list">路线活动</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/guider/message">我的留言</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/guider/orders_request">游客预定</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/guider/my_orders/">我的订单</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/guider/bank_list">收款账户</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/guider/recieved_comments">我的点评</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/guider/notice">我的提醒</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/guider/prize">奖励</a></li>
                        <li class="menuli"><a class="a" href="/user/logout">退出登录</a></li>
                    </ul>
                </div>
                <{if $global_user.userIcon}>
                <img src="<{$global_user.userIcon}>" alt="" class="img">
                <{/if}>
                <a href="/guider/notice"> <span class="news">
                    <{if $notice}>
                      <em class="number" id="notice_num" data="<{$notice}>"><{$notice}></em>
                    <{/if}>
                </span></a>
            <!--
                <div class="qieh"  onmouseover="show_succ_menu(this);" onmouseout="hide_succ_menu(this);">
                    <ul class="menu">
                        <li class="menuli" onclick="changeType()">切换到游客</li>
                    </ul>
                </div>
            -->
            </div>

            <{else}>
            <div class="login-succ fix">
                <div class="name" onmouseover="show_succ_menu(this);" onmouseout="hide_succ_menu(this);">
                    <p class="txt"><{$global_user.userName}></p>
                    <ul class="menu">
                        <li class="menuli"><a class="a" target="_blank" href="/tourist/info">基本信息</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/tourist/credit">邮箱认证</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/tourist/orders">我的订单</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/tourist/message">我的留言</a></li>
                        <!--   <li class="menuli"><a class="a"  href="/tourist/orders/track?type=track">我要申诉</a></li>
                        <li class="menuli"><a class="a"  href="mailto:info@wayatrip.com">我要申诉</a></li>-->
                        <li class="menuli"><a class="a" href="javascript:;" target="_blank" onclick="shensu()">我要申诉</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/tourist/notice">我的提醒</a></li>
                        <li class="menuli"><a class="a" target="_blank" href="/tourist/line_comments">我的点评</a></li>
                        <li class="menuli"><a class="a" href="/user/logout">退出登录</a></li>
                    </ul>
                </div>
                <{if $global_user.userIcon}>
            <img src="<{$global_user.userIcon}>" alt="" class="img">
                <{/if}>
                <a href="/tourist/notice"><span class="news">
                    <{if $notice}>
                      <em class="number" id="notice_num" data="<{$notice}>"><{$notice}></em>
                    <{/if}>
                </span></a>
                <a href="/order/itinerary" class="xcd">
                    你的行程单
                </a>
            </div>
            <{/if}>
            <{else}>
            <span class="reg" onclick="showBox($('.register-wrap'), $('.alert-bg'));">注册</span>
            <span class="login" onclick="showBox($('.login-wrap'), $('.alert-bg'));">登陆</span>
            <{/if}>

        </div>
    </div>
</div>

<script>

function show_succ_menu(item) {
    $(item).find('.menu').show();
}

function hide_succ_menu(item) {
    $(item).find('.menu').hide();
}

</script>
